cmake_minimum_required(VERSION 3.0.0)

project(test2 VERSION 0.1.0)

message(STATUS ${PROJECT_SOURCE_DIR})

find_package(curl)
if(curl_found)
MESSAGE(STATUS ”CURL library ${CURL_INCLUDE_DIR}”) 
MESSAGE(STATUS ”CURL library ${CURL_LIBRARY}”) 
else(CURL_FOUND)
MESSAGE(FATAL_ERROR ”CURL library not found”) 
ENDIF(CURL_FOUND)

add_executable(test2 main.cc)


